﻿using System;
using StudentWeb.Common;

namespace StudentWeb.Model
{
	/// <summary>
	/// BookDate
	/// </summary>
    [Serializable]
	public class BookDate
	{
		/// <summary>
		/// ID
        /// </summary>
        [FieldName("ID")]		
		public int ID
		{
			get;
			set;
		}
        
		/// <summary>
		/// BookName
        /// </summary>
        [FieldName("BookName")]		
		public string BookName
		{
			get;
			set;
		}
        
		/// <summary>
		/// BookYear
        /// </summary>
        [FieldName("BookYear")]		
		public int? BookYear
		{
			get;
			set;
		}
        
        public BookDate Clone()
        {
            return (BookDate)this.MemberwiseClone();
        }
        
        public BookDate()
        {
            BookName = string.Empty;
        }
	}
}
